fixed issue with infinite loop (because of var require), some test with requirejs
1.10.6