javascript form fix