Added jquery ajax script to layout page.

More work on message