Replacing require with requirejs. Bubble render test fix.