organizing javascript and dialog windows, adding ability for anonymous users to reserve appointments