Update ajax.php

Fix per https://github.com/FoxUSA/OpenNote/issues/26