ajax bugs fixed, seems to be running fine