Basic JavaScript demo application for booking seats when buying airline tickets