Added missing ajax support for messages index. Fixed #101