Create refractor.js