Reformatted according to joist's phet-idea-codestyle.xml, which added some whitespace and removed some blank lines.  Other than that, the code adhered to PhET's code style standards.  See #1