update 1-8.md ,add 1-6.html and 1-6.js and fix some type fault