RFC: Initial Approach => JavaScript (node + browser) Client

The initial approach has been reviewed and implemented. Please review the recent commits.

/to @bajtos @raymondfeng