fixed a few js bugs and get_object_list to allow for no event id in query