Add option to specify which javascript to load depending on controller-a...

...ction