JavaScript case sensitive typos