JS: copied goog.deps.js over
JS: simpler type system