add the html and js code to the repository

need to reorganize the code before further development, otherwise this
app will be very difficult to expand.
updated the readme