Update controls.js

added edit and delete buttons