changed url and added api_key to index.html