Yes, but one thing to let you know before, and this may be a bit interesting, is khan academy JS is basically Prosessing java - Java syntax.
It is easy enough to learn, and if you want, I can help you learn it =)