Build a scan applet for html which get images from scanner by single click.