My suggestion would be to use a remote call to render the form, not to fetch values for the form which would then need to be set with JS. So you'd call an admin-ajax URL which would return a snippet of HTML with the form elements already filled in with values.

In any event, if you need to use this as is in the meantime, you can use your fork.