initial version

Updated documentation.  Added JS library and HTML demo.