fixed some JSHInt findings
Merge pull request #98 from SchweizerischeBundesbahnen/feature/mwa/jshintfindings

fixed some JSHInt findings