Fixing index.html script reference bug