wgweb: initial implementation of ajax frontend