adopt partial jshint, settle down basic styling