application variable is not available in the context of the call of getWebXmlFilterOrder

With the previous code the webxml plugin does not recognize the cors plugin as having a webXmlFilterOrder property.