fix jshint, add dos2unix
fix code style