add semi-colons after functions

or it may break the code after concated and minified
Merge remote-tracking branch 'jiyiniyong/master'
unit tests working again
added a semicolon for consistancy