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

Closes #727