Handle indentation of nested ternary operators in JS