Added JSON and JavaScript query.