web api added.
fix html and js and lib.