combine lib with gopherjs