repaired js function for add tasks
Merge branch 'master' of github.com:netguru-training/tasklist