Make a lot of modifications and bug fixes on html and js files.