added backward compatibility check for node 0.6.x