add javascript examples.