add support to highlight a javascript object