Use version ranges for Chat and Express dependencies
Fix some syntax issues with the current version of jade