Added stories.json to slideJSON div in compiled HTML to avoid cross domain access issues brought about by trying to load stories.json on the php server from the SE server.
Removed timestamps from file.write(). Fixed reading of inline JSON.
Put the abspath of the image in the index.html. Recompiled.