Convert JS ternary expression to coffescript style ternary.

(Whyyyyyyyyyyy)