Rebuilding JS core