Update ajax.php

Bad paste job caused $end error