A basic lesson to convey javascript fundamentals