Add missing semicolon and fix a typo with a comma.

There was a comma instead of a semicolon and also a missing semicolon at the bottom.