requirejs, browser patch

not sure if this will meet all requirements either, but it appears to be working in my local app.