Move JS to footer