added goog.require for Long and better exports for GOOG build mode