Introducing JSHint and JSCS rules and fixing up non-conformances within the code.
Adding build and test tooling, using gulp and plugins.