fixed js query