fix js export