JavaScript: initial lessons