Fix JS example