Rearrange css and javascripts