tasks for JavaScript