formatting fixes, now passes JSHint.