move to jade
remove uneeded use strict
change self to this where not necessary self.
fix jade template