function Phantom(options) {
  if (!options) {
    throw new Error('options is required');
  }