fix a bunch of build bugs
stop doing require in Browser.js
fix some things the closure compiler didn't like
more build bugs
don't need isDebug