added javascript to go red if email