try using angular.js in costcontrol page