use better coffeescript conditionals

this will actually compile into the same thing, but it's much easier to read.