style changes

spaces between control block keywords and their opening parens.
opening curly to be on the same line as the closing paren of  control block.

example:

if (condition) {
    //do something
}