By default, all Cisco security appliances process all WebVPN traffic through a content rewriting engine that includes advanced elements such as JavaScript and Java to proxy HTTP traffic. That is a good security feature but if you are running a web application which you want to be accessible through WebVPN this content rewriting (also called ‘mangling’) may cause you a lot of functionality issues.
Here are some suggestions:
You can disable content rewriting for selected web resources using ‘rewrite’ command:
Example: ‘rewrite order 100 disable resource-mask *.js’
But I believe that this will not fix your issues and ...