Revert "Bug fixes in inheritance"

This reverts commit 7c9dce2fc2d01acaee14d06400d65012c66e7f7e.
JS+ Version 1.02

Bug fixes in inheritance