Small javascript examples.