phonegap bar applcation