Working on JS performance.
Tracking down nextPage bug.