Ignore 'define' is not defined
Rework require stuff to use declarative "var blah = require('blah')" rather than ['blah], function(blah) syntax.