I don't understand why you wouldn't just use plain dom+css to render the gui ?! What's the benefit to recode the gui in WebGL ?
I personally consider DOM and CSS as the least-evil-of-all-options for doing cross-platform UI. Not that a better solution couldn't be made, but all other current solutions for the type of software I want to make are worse than DOM in some way.
[1] shameless plug: http://capnmidnight.github.io/Primrose/