A basic lesson to convey JavaScript fundamentals