fix js query_builder