Made register use jquery mobile