followed jshint recommendations - see https://travis-ci.org/mapmeld/iloominate/builds/25419050