removing .js extension