fix terrible async issue when detecting dynamic content

promises ftw!
switch templates to jade using precompiler
templates update for category view
Merge pull request #9 from carrot/jade

Jade & Bug fix