Updated js lib to use 'secret' instead of 'password'
Added basic js example
Merge pull request #219 from stianst/master

Basic html example