shotop: splits out js to be page specific; and layout specific