Initial commit. Added source file, tests, minified version, assets for testing in browser (Mocha)