fixes for firefox and interface.js