Tried to address jHint warnings