Have mostly implemented pagination on left panel. Also cleaned up a bit in js, and moved some of the reusable functions to common.js