json-events.php needs to be running in the same directory.