improve and clean up build system, jshint specs in tests, close #2151