Resolve form submit issue index.html