active annotator function, fix page js call api function and  modified note api