Change places with require('foo.js') to require('foo')