checking + in tasks.js manage task function