Add server-side communication with web app via javascript