test console with phonegap and button