Fix use of deprecated jade features and update jade