Khan Academy Intro to JS: Drawing and Animation
The Khan Academy also has a nice programming course on their webpage. It is using Javascript, enhanced by the Processing:JS library for the drawing commands. The worksheet below is an introduction on how to get up and running with that course.