moving footer js to header