add semicolons to some functions end.

Sorry for a very little  grammatical change. 
But I think semicolons of function end should be added to all functions.