embed: countries.js initShare`s code moved to initView