first commit

working project, I need to add well written example and do a modern
refactoring to javascript code
Merge pull request #1 from gentax/working-example

first commit