Don't scope timer functions to window object.

This was broken in nodejs the timer functions are defined on the global object.
Merge pull request #2 from nullobject/master

Don't scope timer functions to window object.