loading myria queries in js
modifying template