updating jade compiler to work with both old/new jade compile api