SONATA-173 - Added a javascript validation for ToS validation