tasks and maps js