delinting, eliminating some warnings, docs
hopefully fixes travis; angular needs jsdom upgrade

see https://github.com/bclinkinbeard/angular/pull/29