Single js file for both node.js and the browser

Hi,

it would be easier for deployment if node and the browser shared a single js file.

I went ahead and added a few lines to the browser suffix file and tested the result in the html as well as in the node.js file.

Please take a look. If your happy with the suggestion, we could clean the code up to build a single file (which could potentially be deployed via npm). Thanks.

Tankred