support negative patterns in unit-tests
support adding global variables to jshint
fix coding styles