Do you particularly need to use LocalStorage? It's just that most recent versions of the spoor plugin will store all the tracking data in a cookie if you run the course from scorm_test_harness.html