getDisciplines and fill_in_dropdownlists functions now work with JSON