Merge pull request #25 from senditu/master

Updated to latest version of js-bson
* 0.4.13; revert to nan 0.8.0.

  This is because nan 1.0 introducing a new API.

  /cc @senditu ; Closes #26.
switch from onmessage to this.onmessage

fixes the JS examples
Merge pull request #28 from slang800/patch-1

switch from onmessage to this.onmessage
Merge remote-tracking branch 'caasi/master'

Conflicts:
	package.json
* Require nan 1.2.x. Closes #16. Thanks @senditu and @caasi!