Use JSM shipped in Firefox.
Some cleanups.