Moved loom related functions to troopjs-browser. Closes troopjs/troopjs-jquery#22