Changed JS/JQuery refs to the end of the page