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

@tavriaforever 
why do you need this empty array here?