Update documentation, npm package, use html 5 doctype for test/index.html