Add options to disable autotrack and namespace. Fix jshint errors