diff --git a/pandora/templates/embed.html b/pandora/templates/embed.html
index d3108940..c4e2cc08 100644
--- a/pandora/templates/embed.html
+++ b/pandora/templates/embed.html
@@ -4,19 +4,16 @@
{{settings.SITENAME}}
-
-
+
-
-
-
+
diff --git a/static/js/pandora.embed.js b/static/js/pandora.embed.js
index 5693924b..7ce67285 100755
--- a/static/js/pandora.embed.js
+++ b/static/js/pandora.embed.js
@@ -1,7 +1,7 @@
/***
Pandora embed
***/
-
+Ox.load('UI', function() {
var pandora = new Ox.App({
apiURL: '/api/',
}).launch(function(data) {
@@ -56,6 +56,7 @@ var pandora = new Ox.App({
}
};
var item = document.location.pathname.split('/')[1];
- ui.info= new app.info(item)
- .appendTo(document.body);
+ ui.info = new app.info(item)
+ .appendTo(document.body);
+});
});