SONARJS-239 Make compatible with SQ version > 4.0.