flatten nested array javascript. html>duquimjqe