fixed ordering of javascript files in index.html