Update metrics list page JS to use backend pagination