Simple polling mechanism for web development