fix for breaking behavior on node 0.10.30

I'm not sure why this works, but it fixes the problem with hanging test output on node 0.10.30 (but not 0.10.29 or anything older) raised in #22 and fixes problems I encountered in frame-loop using raf with node 0.10.30.