removing .js extension from the 'main' property