backbone: fixed jshint warnings

added missing commas, removed trailing comma, enabled jshint undef warning