A start-up called Codecademy is teaching JavaScript online for free, with 300,000 takers so far. Michael Moyer reports