Apparently JS doesn't do ternary shorthand...