fix how we obtain api_key in crossfilter javascript