Do not alert with string 'null' in Chrome