Add client side code to handle add, delete and display in browser