Fix global variables in IE8.

Variables timeout and missed_tricks
Fix global variables in IE8.
fix scope of timeout/missed_ticks variables
add Date.now() support for ie lt 9
Merge pull request #12 from Nagib/master

add Date.now() support for ie lt 9