add javascript examples