Added FPS + Browser compatibility for Firefox