refactor vkontakte to use shared.js