We are moving from WebForms to MVC and and using a lot of jQuery.
I appears we have a lot of jQuery/JavaScript in our Views, is this common and are there any concerns about security. The obvious step is to refactor into plugins and more generic UserControls etc, but this jQuery would still be "visible" by looking at js files etc.
We are validating everything on the server-side anyway but should we be concerned?