JS to footer