diff --git a/plugins/box/snippets/js/snippets.js b/plugins/box/snippets/js/snippets.js
new file mode 100644
index 0000000..6cdf9d3
--- /dev/null
+++ b/plugins/box/snippets/js/snippets.js
@@ -0,0 +1,18 @@
+if (typeof $.monstra == 'undefined') $.monstra = {};
+
+$.monstra.snippets = {
+
+ init: function() { },
+
+ showEmbedCodes: function(name) {
+ $('#shortcode').html('{snippet get="'+name+'"}');
+ $('#phpcode').html('<?php echo Snippet::get("'+name+'"); ?>');
+ $('#embedCodes').modal();
+ }
+
+};
+
+
+$(document).ready(function(){
+ $.monstra.snippets.init();
+});
\ No newline at end of file
diff --git a/plugins/box/snippets/snippets.admin.php b/plugins/box/snippets/snippets.admin.php
index eb65067..c933af6 100755
--- a/plugins/box/snippets/snippets.admin.php
+++ b/plugins/box/snippets/snippets.admin.php
@@ -1,7 +1,11 @@
-
+