add code to invoke getMessages right from Watch.html