Oops, wrong use of if in coffee-script

I am not a native `coffee-script` speaker. Screwed up with an `if` block