changed the way in javascript to get dataset: remote dataset is fixed