moves javascript files to the end of index.html