Runtime for web applications