parsing page number.
js tweak.