Change js variable in plugin config.