I'd say the better way would be to develop the entire GUI with static HTML + JS files talking to the embedded device through a REST-ish interface.
That way you can get a clean separation of the front and back ends, and the web developers get to work with exactly the tech they are used to.