merge two occurences of the js_engine node