diff the js query