modify the add.js to show adding infromation when successfully add