Added javascript examples.