moves javascript to the bottom