Use pointer instead of JSPath.apply