Updated javascript to support new webservice names.