Basic rewrite to Jade, fixes #1