refactor some eslint hints
Merge branch 'master' into refactor
add ESLint config; refactor cricket.js code
remove eslint warnings