fixes requirejs issues