Remove unnecessarily javascript form submission