consistency throughout the script files.

Formatted the JavaScript files.