rewrote parseJade