refactor header and stage to different jade files