add exit button support under phonegap and fastclick