Change predict to ajax.