Adding the default document object to options.js