- editDB view javascript functionality working