Try to work with jQuery Mobile.