Inheriting core module

Since JsObject from core module is used here.
Merge pull request #1 from sambathl/master

Inheriting core module