diff --git a/core/modules/node/lib/Drupal/node/NodeFormController.php b/core/modules/node/lib/Drupal/node/NodeFormController.php
index 24fa5b9..285a009 100644
--- a/core/modules/node/lib/Drupal/node/NodeFormController.php
+++ b/core/modules/node/lib/Drupal/node/NodeFormController.php
@@ -113,9 +113,6 @@ public function form(array $form, array &$form_state) {
       '#attributes' => array(
         'class' => array('node-form-revision-information'),
       ),
-      '#attached' => array(
-        'js' => array(drupal_get_path('module', 'node') . '/node.js'),
-      ),
       '#weight' => 20,
       '#optional' => TRUE,
     );
@@ -153,7 +150,6 @@ public function form(array $form, array &$form_state) {
       ),
       '#attached' => array(
         'js' => array(
-          drupal_get_path('module', 'node') . '/node.js',
           array(
             'type' => 'setting',
             'data' => array('anonymous' => $user_config->get('anonymous')),
@@ -193,9 +189,6 @@ public function form(array $form, array &$form_state) {
       '#attributes' => array(
         'class' => array('node-form-options'),
       ),
-      '#attached' => array(
-        'js' => array(drupal_get_path('module', 'node') . '/node.js'),
-      ),
       '#weight' => 95,
       '#optional' => TRUE,
     );
@@ -216,6 +209,12 @@ public function form(array $form, array &$form_state) {
       '#access' => user_access('administer nodes'),
     );
 
+    $form['#attached'] = array(
+      'library' => array(
+        array('node', 'drupal.node'),
+      ),
+    );
+
     return parent::form($form, $form_state, $node);
   }
 
