Program to teach JavaScript