fixing extra js-loads