Fixes JS embedder and example