proper exports for browser, amd, commonJS env, remove backbone dependency
test.js to being writing mocha tests