Update wsdl.js

Wrong 'extend' pattern implementation, fixed extend() function.