- Moved support.js check to effects.js. This is just an assignment to the function if it exists. Removed string concatenations.
+ Still need to do the checks on window, but after that, window is no longer needed.
- Switched ternary to an if statmenet
- assigned timerId to a number rather than the function. I did perf tests to check which is faster.