Link local core in javascript subpackage