Usually I depend on Footer Stuf . It has not been updated for a while but still works with out a single bug.
It supports java script and any other codes on footers/headers
Now, I want to shift to Custom Headers and Footers as my installation is of Multisite. Will give it a try and let you know if I got any trouble with it and if it support java snippets
Does it support short-codes and php codes?