some clean up and fixing jshint errors
Merge branches 'master' and 'master' of https://github.com/Fathalian/nestor