Remove Page from DOM

Remove Page from DOM

Hi all,
  I'm developing an app using jQuery Mobile that will use many pages, many of which will have images.  The pages are in separate files, so I understand they will be injected via AJAX into the DOM as needed.  I'm wondering if I need to worry about removing the pages from the DOM when the user is done with them, otherwise the DOM will contain lots of large hidden pages, that presumably could be eating up memory on phones.  Is there a way to remove pages from the DOM and have them to be loaded via AJAX if needed again?  Or is this something I shouldn't even really worry about?  I know I could manually remove the div's from the DOM using javascript but I'm worried that that would mess with jQuery Mobile internal hash tracking, etc. 

Thanks for your input!