js file for get data