- (void) javascriptAlert:(NSString*)text {
    NSString* jsString = [[NSString alloc] initWithFormat:@"alert('%@');", text];
    [webView stringByEvaluatingJavaScriptFromString:jsString];
    NSLog(jsString);
    [jsString release];
}
