Added JS example.