click submit doesn't throw js errors