I remember reading somewhere that the show was originally supposed to end with Maria killing herself as well, but it was ultimately decided that Maria would live. I can't remember the specific reasons, and I can't remember who made the choice, I'm sure other people on the board can expand on this, but yes, at one point the show was going to end like ROMEO AND JULIET.
"Some people can thrive and bloom living life in a living room, that's perfect for some people of one hundred and five. But I at least gotta try, when I think of all the sights that I gotta see, all the places I gotta play, all the things that I gotta be at"