This will allow to change the unit like in the case of IV
We will want probably to have a new release of the visualizer so that the normal 'jsgraph' format is compatible with the spectraDisplayer module
Currently we change preferences of the module but this is really messy.