change extension device discovery feature with REST interface (jquery is used as well)