Use global `jade` instead of `window.jade`

This makes Jade compatible with contexts where `window` isn't defined (eg: inside Web Workers).

Closes #727