Rewrite bemtree and bemhtml templates of posts block to new js syntax

@tavriaforever 
such things should be omitted