Support for NodeJS version 0.8

closes #2