Fix JsClass Dependency Provider: if namespace doesn't match don't return dependency

fixes test