Added code to restore focus to before jQuery Mobile loads for pages that load slowly (#2533)