send messages to html when remote buttons hit.