added missing semi-colons

TypeScript compiler complained with expected semi-colons in certain areas.
Added in the missing semi-colons.
Merge pull request #1263 from RethinkFlash/master

added missing semi-colons