Move theme js into head