start of embedder.js