Was there anything special you did to be able to implement saved states? Is it connected to itch.io or browser?
it's connected to your browser using the localStorage object. If you open Chrome and go to View > Developer > Developer Tools, go to the Application pane, and open the Local Storage view. It'll be under the key "saveData".