Automating code style enforcement, stricter JSHint, cleaned existing codebase