use 2 spaces as Tab, fix jshint errors