add news key and span ajax javascript