js export fix