worked on rails with jquery mobile