Format code with js-beautify, remove warnings with Lint.