Move javascript from head