move js into head