Event deviceReady fires in browser

The app is now runnable both in browser and device