Load as AMD module
Merge pull request #66 from LingoLasse/amd

jslib: Load locomote.js as AMD