move js back to footer