bemhtml: fix tech, use promises