Some browsers not support 'console' object. For example: windows phone 7.