Add structure and JS engine