changes on loqui scripts to adapt to newer version of quojs