Removing all JS from the <head> tag and moving it to the end of page body

To fix the JS errors you are getting. The JavaScript with lack of jQuery at the beginning is causing an error, so the same files included further down the page won't be run again as they already gave an error.