CLDINT-932 javascripts converted to portal modules; used portal's jquery and local jqueryui; sanitization