A lesson on JavaScript: agenda and home task