cleaned up the page load order for jqeury mobile