disallowSpacesInConditionalExpression: rework testing logic with new jsfile