The solution was pretty obvious in the end. I am using ajax to send info to the TinyWebServer that then makes the info known to the browser app. Problem sorted.