Add .js file extension to require