Add browser example
Improve documentation for browser example
Improve error checking in browser example
Remove redundant character sequence constants
Improve examples documentation