An educational system for teaching JavaScript