Add javascript usage example