replace weird boolean logic with ternary
Merge pull request #1018 from michaelficarra/patch-2

replace weird boolean logic with ternary in Backbone example