fixes #5173 JS error when you editing News content