moves javascript to the js folder