Fix reverse.js