add hashCode method
fix for jshint. add config.js module and test case.