changed pause.js