I created the application myself and came across this, although I have not implemented it yet, I plan to use jQuery plugins to do a lot of this. You cannot embed JS in partial view if you load partial through AJAX because it will not work.
JQuery is a very good infrastructure and easy to use plugins. You just need to start designing your JS so that it is more reusable (no links to hard code, etc.).
Alternatively, without jQuery, creating separate JS files and creating your own code using JS classes is also a good strategy.
NTN.
source share