Update coding style for brackets

See pull request 28 :
Change
if (test)
{
   doStuff();
}
to
if (test) {
   doStuff();
}

Also remove an extra (unused) `this` and fix a typo.