An example of JavaScript library