Follow coding conventions concerning semicolons; Don't initialize variables explicity as "undefined"

This commit doesn't break anything. I added a bunch of semicolons in order to be more consistent regarding the style guide. Basically, JSHint passes now (except for one function being initialized inside a for-loop).
Merge pull request #1756 from alexanderGugel/master

Follow coding conventions concerning semicolons; Don't initialize variab...