added missing semi-colons

TypeScript compiler complained with expected semi-colons in certain areas.
Added in the missing semi-colons.