use browser <0.10 to get context['gapi'] to work