changing js

modified some query files