moved javascript to Data.js