refactor yandex to use shared.js