UI Finished, Some JS bug fixed

Still contain some js bugs in index.html.