placed data in js file  instead of json file