fix 'onsubmit = return false' bug