Modified to use jQuery Mobile