working on the client with jquery Mobile