Don't allow console in code.
Use JSCS to enforce code style.
Cleanup code style.