HTML JSON form submission polyfill