THRIFT-2722: js: Fix javascript service inheritance namespacing

Patch: Stig Bakken

This closes: #227
diff --git a/compiler/cpp/src/generate/t_js_generator.cc b/compiler/cpp/src/generate/t_js_generator.cc
index 7711aa5..74ec15a 100644
--- a/compiler/cpp/src/generate/t_js_generator.cc
+++ b/compiler/cpp/src/generate/t_js_generator.cc
@@ -1223,6 +1223,7 @@
     indent(f_service_) << "Thrift.inherits(" <<
         js_namespace(tservice->get_program()) <<
         service_name_ << "Client, " <<
+        js_namespace(tservice->get_extends()->get_program()) <<
         tservice->get_extends()->get_name() << "Client);" << endl;
   } else {
       //init prototype