add global functions for jshint declarations to tests
Merge remote-tracking branch 'origin/master'