Javascript functions for add/delete row
class detail, js func for add/delete row added, saving project details in DB