Twine springs to mind. And I think GDevelop runs in the browser too.
Thank you that helps. I'll be sure to ask you more questions.