convert tab to space, follow jshint, preparing to 0.2