clean up some things that jslint found.