add apikey in the javascript code