Typo: added .js

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