Reverting back performance changes

Noticed by moving the js files to the bottom of the page it caused the
js functions to stop working for certain pages, I'll investigate this
locally before deploying again.