fix #858 bump dependencies

Sorted them alphabetically by the way. Minor code fixes done for new
versions of JSHint and Jade.

Close #916.