Adding examples and JS for examples.