Fix up JS to access the import