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

@tavriaforever