added tests for browser inclusion
updated browser example
Automatically rewritten for npm.