removed unused return statement from function
diff --git a/images/screenshot.js b/images/screenshot.js
index 596d71e..d308974 100644
--- a/images/screenshot.js
+++ b/images/screenshot.js
@@ -55,7 +55,6 @@
   iframeElement.contentWindow.document.open();
   iframeElement.contentWindow.document.write(innerContent);
   iframeElement.contentWindow.document.close();
-  return iframeElement;
 };
 
 const createCanvasSnapshot = (element, container, width, height) => {