Fixed dynamic lookup of requirejs