Fixed simple JSHint warnings