refactored the animation loop a bit so that a) there is a shim to provide a "requestAnimationFrame" function if no native implementation exists b) there is a forceUseOfTimeoutForScheduling variable that can be passed in the constructor c) added comments about the working of it all d) deleted an unused variable
rebuild and docs