Update index.js

Added escaping, otherwise it would result in a broken copy.js file