js order patching in page.jade