Use bitwise not to handle differentiating rAF and timeout

Fixes #13