add js doc to transport