added whitespace after commas, and a whitespace before the opening curly brace of a function body