CDI for JavaScript