!= null is not allowed, thus check for truthiness with guard pattern
Merge pull request #37 from SchweizerischeBundesbahnen/feature/STZE/falsy_and_jshint

good catch