bugfix: options.cdn is a string, not a boolean!