add .jshintrc
refactor globground.html and fix some jshint errors