Used js-beautify to format sources.