JavaScript module integration API