fixed uninit field bug in Settings.coffee; enabled templates.js