moved js into head