Fix javascript for verify values of redefine