add javascript example