ticket:6 add redirect in js after form submit