fixing build by changing order of dependencies in index.html