Formatted everything through js-beautifier.
Added automatic beautifier.