added js redirect after create new default issue