[UAT-75] Remove unused js pseudosecurity code