Adds missing semicolons and consistent conditional block braces