Making the semicolon optional and added the // comments