Changed the game loop to run using requestAnimationFrame to optimize drawing. Removed fps option