add controller js file