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
Merge pull request #295 from arthuredelstein/master

Add .jsm suffix for Mozilla JavaScript modules