added javascript to the news _form page