Optimized requestAnimationFrame and cancelAnimationFrame
Optimized randInt, requestAnimationFrame, cancelAnimationFrame, visible, instructions and 'this' in items.js. Added compatibility for other browsers in caf and raf