quickfix:  clean up of phonegap output on loginpage