added js function populateSkuHistory