ticket booking system based on phonegap