fpsMogwai: use requestAnimationFrame shim for browser compatibility

Closes #50