LPS-34335 avoid the js validation in some situations
LPS-34335 - Source formatting
LPS-34335 - Source formatting