When testing the game, the game uses about 100-150MB RAM in the browser. There might be a few settings on your browser that you might need to have it play better like Hardware Acceleration on Firefox or Chrome.
Another advice that I can give is to restart your browser or update the browser. Please try again and let me know if the problem still persists. I'll try to keep this in mind next time if the problem shows up again.