Fixed issue #114 and #135

Just say `clearInterval` without `global`