Added a secret key as required by django 1.4+
Fix connection to mongodb, broken with mongoengine 0.6+
url templatetag requires string argument
replace deprecated jquery "live" method with "on"
satisfy jshint