Initial setup of JavaScript file.