JSCS: fixes for missing errors.