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

@tavriaforever 
why do you need this array explicitly?