Update wsdl.js

Fixed extend() function