Fix class reserved word and JS example.