Move gopherjs build step into a go:generate command.