Javascript changed to footer at template and admin changed