Update to be compatible with requirejs (use AMD)
building with r.js

and updated example
update readme
add output to repo