added JS to outline page after bulk publishing rewrite