update version
remove old page entirely when rendering new one

old code was (probably) a workaround for persistent headers,
which as of jQM 1.4+ no longer need to exist inside of a page