diff --git a/js/plugin.js b/js/plugin.js
index 5d1a7c2..9150a74 100644
--- a/js/plugin.js
+++ b/js/plugin.js
@@ -1,43 +1,46 @@
-'use strict';
+/**
+ * @file
+ * Contains plugin.js.
+ */
 
-(function() {
-    CKEDITOR.plugins.add('blockimagepaste', {
-        init: function( editor ) {
+'use strict';
 
-            function replaceImgText(html) {
-                var ret = html.replace( /<img .*?>/gi, function( img ){
-                    alert(Drupal.t('Direct image paste is not allowed.'));
-                    return '';
-                });
-                return ret;
-            }
+(function () {
+  CKEDITOR.plugins.add('blockimagepaste', {
+    init: function (editor) {
+      function replaceImgText(html) {
+        var ret = html.replace(/<img .*?>/gi, function (img) {
+          alert(Drupal.t('Direct image paste is not allowed.'));
+          return '';
+        });
+        return ret;
+      }
 
-            function chkImg() {
-                // Don't execute code if the editor is readOnly.
-                if (editor.readOnly) {
-                    return;
-                }
-                setTimeout( function() {
-                    editor.document.$.body.innerHTML = replaceImgText(editor.document.$.body.innerHTML);
-                },100);
-            }
+      function chkImg() {
+        // Don't execute code if the editor is readOnly.
+        if (editor.readOnly) {
+          return;
+        }
+        setTimeout(function () {
+          editor.document.$.body.innerHTML = replaceImgText(editor.document.$.body.innerHTML);
+        },100);
+      }
 
-            editor.on('contentDom', function() {
-                // For Firefox.
-                editor.document.on('drop', chkImg);
-                // For IE.
-                editor.document.getBody().on('drop', chkImg);
-            });
+      editor.on('contentDom', function () {
+        // For Firefox.
+        editor.document.on('drop', chkImg);
+        // For IE.
+        editor.document.getBody().on('drop', chkImg);
+      });
 
-            editor.on('paste', function(e) {
-                var html = e.data.dataValue;
-                if (!html) {
-                    return;
-                }
-                e.data.dataValue = replaceImgText(html);
-            });
+      editor.on('paste', function (e) {
+        var html = e.data.dataValue;
+        if (!html) {
+          return;
+        }
+        e.data.dataValue = replaceImgText(html);
+      });
+    },
+  });
 
-        },
-    });
 })();
-
diff --git a/src/Plugin/CKEditorPlugin/BlockImagePastePlugin.php b/src/Plugin/CKEditorPlugin/BlockImagePastePlugin.php
index 2b0b5f2..cd12c8b 100644
--- a/src/Plugin/CKEditorPlugin/BlockImagePastePlugin.php
+++ b/src/Plugin/CKEditorPlugin/BlockImagePastePlugin.php
@@ -8,7 +8,6 @@ use Drupal\ckeditor\CKEditorPluginContextualInterface;
 use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
 use Drupal\editor\Entity\Editor;
 
-
 /**
  * Defines the "blockimagepaste" plugin.
  *
