Reworked JS file importing used JQuery getScript function.