Added code to add controller javascript files dynamically