revise js editor