Added ajax reservation form and code cleanup