Add JS API example usage.