Perhaps a good safety check would be to verify `typeof options.amd === 'string' && options.amd !== 'true'`