Define unescape() and escape() functions?
Escaping and unescaping are useful to prevent Cross Site Scripting (XSS) attack. It is one of the common web attacks, since it will be easy to create an attack vector if the site is not designed carefully.
How to Fix?
Fixing it could be as simple as dropping a line into your JS to add in an unescape() method if one doesn't exist.