console.log will not work on all browsers. e.g. native browser