Adapt function names of latest JavaScript data model design