Update client.js to reflect new plug API entries

Courtesy of AtomJack