AMD allows you to load js code in async fashion and base on your controller action.
Sameer Rahmani
MIT