or
<section data-role="layout" data-id="default" data-platform="ios"> <header data-role="header"> <div data-role="navbar"> <span data-role="view-title"></span> <a data-role="backbutton" data-align="left">Back</a> </div> </header> <!--View content will render here--> <footer data-role="footer"> <div data-role="tabstrip"> <a data-role="button" data-icon="organize" ref="">Secrets</a> <a data-role="button" data-icon="compose" href="">Place a secret</a> <a data-role="button" data-icon="contacts" href="">Profile</a> </div> </footer></section>hide:function(e) { e.view.destroy(); e.view.element.remove();},$('.main-window').show(3000, function() { // create the map after the div is displayed var mapOptions = {