Refactor function name of browser-interface.js