Same with this. Add it to `files_pdfviewer/js/on_event.js` as:
```
$('#close').on('click', function(){
	window.parent.hidePDFviewer();
});
```