added javascript to tasks