removing .js from name