adaption to changed gopherjs
updated js