Updated for jQuery Mobile