JavaScript files for Nanodegree Project 2