Added missing semi-colons

Make sure to use semi-colons when defining variables. Adds readability
and stops some strange errors.
Added semi-colon section to docs