Move js refs to top to allow for interactivity