some string changes, jshint fixes, general polish
variety of fixes/polish