Revert "Undo last commit due to incompatibility with nodejs-0.6"

This reverts commit 6f092f846c88492342559d195228dc066b0f8d63.
Merge pull request #3 from jhadvig/reset_last_changes

Revert "Undo last commit due to incompatibility with nodejs-0.6"