add cancel in min.js