add node.js 0.8 support