ensuring this.options.plugins is a valid array