consolidated extendReflectType into single function
consolidated extendReflectType into single function

albrow/gopherjs,jeremyschlatter/gopherjs,bpowers/gopherjs,gopherjs/gopherjs,nmfzone/gopherjs,jargv/gopherjs,nmfzone/gopherjs,rasata/gopherjs,govlas/gopherjs,bpowers/gopherjs,jeremyschlatter/gopherjs,jeremyschlatter/gopherjs,Archs/gopherjs,gopherjs/gopherjs,albrow/gopherjs,nmfzone/gopherjs,flimzy/gopherjs,gopherjs/gopherjs,ebroder/gopherjs,flimzy/gopherjs,roth1002/gopherjs,rasata/gopherjs,Yanjing123/gopherjs,bpowers/gopherjs,rasata/gopherjs,gopherjs/gopherjs,Yanjing123/gopherjs,gopherjs/gopherjs,ebroder/gopherjs,flimzy/gopherjs,Archs/gopherjs,roth1002/gopherjs,govlas/gopherjs,roth1002/gopherjs,jargv/gopherjs,jargv/gopherjs,govlas/gopherjs,albrow/gopherjs,Archs/gopherjs,ebroder/gopherjs,Yanjing123/gopherjs