Bug 910339 - Linting E.me Code Phase I:

This commit includes only 'cosmetic' changes that do not affect the code:
* replaced all double quotes with single quotes
* added EOF new lines
* added curly braces around blocks in loops and conditionals
* fixed indentation issues
* fixed missing/unnecessary semicolons