Move quick nav into common.js.
Move common parameters into common.js.