put that on a separate line (e.g. `var style = ent[0] === selectedPortal ?  OPTIONS_RESONATOR_SELECTED : OPTIONS_RESONATOR_NON_SELECTED; `) and also use identity operator. Same below. Otherwise everything looks fine.