swig js template engine protocole for deepjs