little refacto of interface.js and switch order off rebase state on DOM