add event handler for open setting page *use jsinterface*