Use JS config API from https://github.com/ipython/ipython/pull/6874