remove gopherjs dependencies from lib