Ajax levels bug