moved js to footer