Ajaxify message filters

Change-Id: Idb87bb158b6893d261b75ebe23ba80a7984c4c14