I think according to the js style guid you're supposed to have {} when you use an else, but as a rubyist I don't really care.