Check if mapkey is defined in index.html before setting the gmaps API
variable