added examples - javascripts