Moving some js files into the head