cleaned up comments and started echoing only JSON. preparing for AJAX!
forgot json encode in start new story
connected PHP to AJAX, added a file_exists to start_new_story to preserve valid JSON response, and created a clickhandler to check if AJAX works