Typo: added .js

Untested. I don't know RequireJS at all; just made the change because of its appearance. It's OK of course to delete this PR if this change is non-sensical.