AUI-1174 Validate source code with JSHint