fetching data using cors.io
javascript initial version