Fixed bug in data.js