JavaScript implementation of the Ask query language