Update JsClass.js

-Fix Issue on Extension.
-Fix Issue on Inheritance more than two levels