Create pauseable.js