Update client.js

Order of extends reversed -- user defined options would be overridden if the options variable was the first parameter of v.extend