diff --git a/hwe/js/common.js b/hwe/js/common.js
index 20000f14..bedfba52 100644
--- a/hwe/js/common.js
+++ b/hwe/js/common.js
@@ -153,6 +153,8 @@ jQuery(function($){
var customCSS = localStorage.getItem('sam_customCSS');
if(customCSS){
- $('').appendTo($('head'));
+ var $style = $('');
+ $style.text(customCSS);
+ $style.appendTo($('head'));
}
});