Dynamically generate data in JS.