Update add.js

even button now working