js core fix