Added comments in the JavaScript files