It seems like this occurs even in the playground itself, so it's hard to suggest a minimum code snippet with the playground. http://www.gopherjs.org/playground/#/uo5azM3CaP