Embed config rather than using XHR