console.log override to catch messages before cordova
usage did not say that layout is also generated