Improved build files.
Added PHP Storm files to gitignore;
Standardized indentation for JavaScript source code; and
Corrected typos.