Collection of JavaScript code for beginner.