Javascript Onsubmit Return False Python