attach: don't use BEMHTML in js

closes #335
Merge pull request #1090 from bem/issues/355@v2

attach: don't use BEMHTML in js