fix export js bug