Fixing index.html script ref bug