attach: don't use BEMHTML in js

closes #355