diff --git a/src/web/app/common/mixins.ls b/src/web/app/common/mixins.ls
index 0a3802e25c..812bcae102 100644
--- a/src/web/app/common/mixins.ls
+++ b/src/web/app/common/mixins.ls
@@ -35,6 +35,3 @@ module.exports = (me) ~>
 
 	riot.mixin \ui-progress do
 		Progress: require './scripts/loading.ls'
-
-	riot.mixin \bytes-to-size do
-		bytes-to-size: require './scripts/bytes-to-size.js'
diff --git a/src/web/app/desktop/tags/drive/file.tag b/src/web/app/desktop/tags/drive/file.tag
index 941c64b06d..9325e30a46 100644
--- a/src/web/app/desktop/tags/drive/file.tag
+++ b/src/web/app/desktop/tags/drive/file.tag
@@ -144,8 +144,9 @@
 
 	</style>
 	<script>
+		@bytes-to-size = require '../../../common/scripts/bytes-to-size.js'
+
 		@mixin \i
-		@mixin \bytes-to-size
 
 		@file = @opts.file
 		@browser = @parent