Use asset type drupalSettings (https://www.drupal.org/node/2383115)