JS support + working queries