Perhaps I'm too much of an opportunist to be overly bugged about it...
I would only prefer opensource over proprietary when it actually makes my day.
Both appear to offer great functionality that one can just use
without any attachments in their demo applications.
If you want to embed any of that on your site using their native libraries, then that's is something else.
But if you just want to draw / save / open / edit these things,
MarvinJS appears to be plenty more feature-rich and well designed.
Note: I've only just seen either today, never before.