edit action added
js modified