Revert "Revert "Revert "Bug 922308: Add ability to load JSMs via loader"""

This reverts commit a50850067232d9c2e97ee7069793aa9b780e39c5.