Allow specifying `true` for moduleName.

This would provide a default `moduleName` function that simply strips
`.js` off the filename.