Added js escaping to client names in case of apostrophe character