Fixing JShint complaints