simple rest web service php/jquery mobile