normalize formatting
clean up piles of jslint errors