Add semicolons to end of if statement lines