implement get asset by type ajax