fix js export/add more IRs