fixes server site requirejs loading