updates readme to add client side code example