how to display pdf file using javascript and firebase

i am using firebase web to upload files(img, pdf) after complete of uploading files i want to display those files on browser using javascript. image is showing but pdf is not showing. i use html tags canvas, iframe, object, img to display pdf without scroll bars.

HTML

<tbody id="tableBody"></tbody>

JAVASCRIPT


document.getElementById('tableBody').innerHTML = "<tr><td>"+billSeqId+"<td><a href="
+billImageUrl+" target='_blank'>view</a></td><td>"
+billType+"</td><td>"
+billStatus+"</td><td class='text-right'><div class='form-group'><select class='form-control' onchange='selectChange()' id='sel1'>"
+"<option>Change Status</option><option>Validation Completed</option>"
+"<option>Validation Failed</option>"
+"</select></div></td></tr>";

i expect to display pdf file without scrollbars

Source: New feed
Source Url how to display pdf file using javascript and firebase