javascript client for the DDB rest API