Add suport to requirejs (poor test)