undo javascript and msql2 adapter