Fix for the import bug in JS