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

Closes #727
Merge pull request #894 from Rowno/patch-1

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