fix spelling of "cadence", clean up jshint warnings