Improved jade support to allow client-side support.