fix jshint issues
fix configure issue;