Fixed JS example.