Js script to footer