Issue #2725383 by sudhanshug, dragos-dumi: Use drupalSettings instead of data-attribute to pass config to js