fixed js messages

updated the js messages for the new chrome fix