Port to bleeding edge nodejs.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>