Added generator that transforms QL to reference JS implementation.