node v0.8+ support

Node v0.8+ support and compatible node v0.6

All tests has passed