Implements the platform-agnostic parts of Scribe's high-level, cross-platform Javascript interface.