fixed for node 0.11.5 using NODE_SET_METHOD