Polished booking Javascript.