Move offline snapshot code to myplaceonline.js