Normalize paths in javascripts paths in index.html