Small java script examples.