Rewrite bemtree and bemhtml templates of block menu-list to js syntax

@tavriaforever 
why using array here?