No need to learn javascript or something else at this point. if it's not immediately related to what he wants to do he'll get bored.
You have the right idea with feedback loop. Kids can teach themselves, given the resources. Your main job is to nurture his motivation.
Source: I taught music lessons to ages 7+, for over a decade.