Changed q for node 0.8 compatibility