Samples of JavaScript code taken from projects