Completing frontend javascript add, delete, done and etc