To keep a local copy, use your browser's Save As option and point the destination at your Documents folder.
Be aware that a saved HTML copy often won't run properly on its own, since the game pulls in external scripts and assets. A download manager or the developer's own offline release is more reliable.