FIX: Allow JS transpilation

FIX: Allow JS transpilation

diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 694ea82..7c5c10e 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -15,6 +15,7 @@ a.loading-onebox {
   }
 }
 
+// test
 .onebox-result {
   @include post-aside;
 
diff --git a/app/models/theme_field.rb b/app/models/theme_field.rb
index 085a0e6..ed0966f 100644
--- a/app/models/theme_field.rb
+++ b/app/models/theme_field.rb
@@ -134,7 +134,7 @@ class ThemeField < ActiveRecord::Base
     filename, extension = name.split(".", 2)
     begin
       case extension
-      when "js.es6"
+      when "js.es6", "js"
         js_compiler.append_module(content, filename)
       when "hbs"
         js_compiler.append_ember_template(filename.sub("discourse/templates/", ""), content)

GitHub sha: 6d126381