Fixed: incorrect loading of javascript to jquery array.