Added overrides for setTimeout and setInterval
Closes #12