diff --git a/composer.json b/composer.json
index 1f14a9031948581afb9d51cbc794402c2662797b..ffb549928199ccff505f8b18e5c16df395a03699 100644
--- a/composer.json
+++ b/composer.json
@@ -15,6 +15,10 @@
             "type": "composer",
             "url" : "https://wpackagist.org"
         },
+	{
+	    "type": "composer",
+            "url": "https://asset-packagist.org"
+	},
         {
             "type": "vcs",
             "url": "git@git.autistici.org:noblogs/r2db.git"
@@ -34,10 +38,11 @@
     "require": {
         "php": ">=7.1",
         "composer/installers": "^1.8",
+	"oomphinc/composer-installers-extender": "^1.1",
         "cweagans/composer-patches": "^1.6",
         "koodimonni/composer-dropin-installer": "^1.2",
         "johnpbloch/wordpress": "^5.4",
-        "bjornjohansen/wplang": "^0.1.1",  
+        "bjornjohansen/wplang": "^0.1.1",
         "wpackagist-plugin/disable-wordpress-updates": "^1.6",
         "wpackagist-plugin/hyperdb": "^1.6",
         "wpackagist-plugin/wpmu-new-blog-defaults": "^2.2",
@@ -87,10 +92,13 @@
         "wpackagist-theme/twentytwenty": "^1.5",
         "wpackagist-theme/veryplaintxt": "^4.6",
         "wpackagist-theme/wp-andreas01": "^2.0",
-        "wpackagist-theme/zenlite": "^4.10"
+        "wpackagist-theme/zenlite": "^4.10",
+        "npm-asset/scriptaculous-js": "^1.9",
+        "npm-asset/prototype-js-core": "^1.7"
     },    
     "extra": {
         "wordpress-install-dir": "app/wp",
+	"installer-types": ["bower-asset", "npm-asset"],
         "installer-paths": {            
             "mu-plugins-src/{$name}": [
                 "wpackagist-plugin/hyperdb",
@@ -101,7 +109,8 @@
                 "type:wordpress-muplugin"],
             "app/{$name}": ["type:wordpress-dropin"],
             "app/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
-            "app/wp-content/themes/{$name}/": ["type:wordpress-theme"]
+            "app/wp-content/themes/{$name}/": ["type:wordpress-theme"],
+	    "app/wp/wp-includes/js/{$name}/": ["type:npm-asset", "type:bower-asset"]
         },
         "wordpress-language-dir": "app/content/languages/",
         "wordpress-languages": [ "en_GB", "it_IT" ],
diff --git a/composer.lock b/composer.lock
index 530dfeb2deb042124b3875561ec7654fba26fc9a..8189d7ea0cc7dc711d9190a6f5567950b136e00e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "b4c8b897e0838fbeb5bd08d42dfd4c13",
+    "content-hash": "6565a0ba753e30855d1b3fd1a96fda9d",
     "packages": [
         {
             "name": "bjornjohansen/wplang",
@@ -410,6 +410,75 @@
             "description": "Install packages or a few files from packages into custom paths without overwriting existing stuff.",
             "time": "2018-02-04T10:52:01+00:00"
         },
+        {
+            "name": "npm-asset/prototype-js-core",
+            "version": "1.7.3",
+            "dist": {
+                "type": "tar",
+                "url": "https://registry.npmjs.org/prototype-js-core/-/prototype-js-core-1.7.3.tgz"
+            },
+            "type": "npm-asset",
+            "license": [
+                "ISC"
+            ]
+        },
+        {
+            "name": "npm-asset/scriptaculous-js",
+            "version": "1.9.0",
+            "dist": {
+                "type": "tar",
+                "url": "https://registry.npmjs.org/scriptaculous-js/-/scriptaculous-js-1.9.0.tgz"
+            },
+            "require": {
+                "npm-asset/prototype-js-core": ">=1.7.3,<2.0.0"
+            },
+            "type": "npm-asset",
+            "license": [
+                "ISC"
+            ]
+        },
+        {
+            "name": "oomphinc/composer-installers-extender",
+            "version": "v1.1.2",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/oomphinc/composer-installers-extender.git",
+                "reference": "ca1c4b16b0905c81d1e77e608f36a2eff1a56f56"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/oomphinc/composer-installers-extender/zipball/ca1c4b16b0905c81d1e77e608f36a2eff1a56f56",
+                "reference": "ca1c4b16b0905c81d1e77e608f36a2eff1a56f56",
+                "shasum": ""
+            },
+            "require": {
+                "composer-plugin-api": "^1.0",
+                "composer/installers": "^1.0"
+            },
+            "type": "composer-plugin",
+            "extra": {
+                "class": "OomphInc\\ComposerInstallersExtender\\Plugin"
+            },
+            "autoload": {
+                "psr-4": {
+                    "OomphInc\\ComposerInstallersExtender\\": "src/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Stephen Beemsterboer",
+                    "email": "stephen@oomphinc.com",
+                    "homepage": "https://github.com/balbuf"
+                }
+            ],
+            "description": "Extend the composer/installers plugin to accept any arbitrary package type.",
+            "homepage": "http://www.oomphinc.com/",
+            "time": "2017-03-31T16:57:39+00:00"
+        },
         {
             "name": "wpackagist-plugin/disable-emojis",
             "version": "1.7.2",