I am in no way fluent in JavaScript, so I apologize in advance if my question is elementary.

What I'm trying to do is add a megamenu to an ebay store. Unfortunately, there is a 10KB limit for the HTML, and the smallest I can make my HTML is 12KB. So, I moved the menu to an external file and am trying to load the external file using javascript. After perusing the ebay community help forum, I am very close to getting this to work, I'm just running into 1 snag.

Ok, to use javascript in an ebay head it has to be obfuscated. I am able to call the jquery library like this:
<script async type="text/javascript">
var az = "SC";var bz = "RI";var cz = "PT";var dz = "SR";var ez = "C=";var fz = "htt";var gz = "p://";
/* jQuery - Now Add in jQuery */
var hz = ".com";
var jz = "ajax.googleapis"+hz+"/";
var resource = document.createElement("script");
resource.src = fz+gz+jz+"ajax/libs/jquery/1.10.2/jquery.min.js";
var script = document.getElementsByTagName("script")[0];
script.parentNode.insertBefore(resource, script);
This works great. Now the problem is actually calling the script. THis is the code I'm using:

var url = 'http://hosting.kyozou.com/jomar/images/nav.js'
document.write('<script src="'+url+'"></scr'+'ipt>')
I've tried to rewrite this into more pieces (like the above), but as I have no clue what I'm doing I can't seem to get it to work. Any suggestions would be greatly appreciated.