Add .jsm suffix for Mozilla JavaScript modules

These modules are traditionally suffixed .jsm instead of .js. See for example:
https://stackoverflow.com/questions/2591368/jsm-vs-js-files