Need help with medical attention level in js, expected identifier in first "else" and cant get it fixed

You can find instructions here in the FAQ on how to properly post your code so that it is formatted properly. It’s really difficult to tell what’s wrong looking at your code in its present format.