fixed #17 - using invariant culture for literal numbers
added window.requestAnimationFrame because it's quite widely supported now