Moving js to footer