added no_xss function to sanitize url
added sanitizing js functions to chat name and chat text inputs