add data range on learning.js