change the $.get out of Jquery

see exports.loadScript