Updated sample code to better document client side integration for #7