Changes to accomodate back button fix in x-walk engine plugin