Simplify asynchronous communication and dom manipulation in old but gold server-side webapps