Add JavaScript implementation for chapter 04
Merge remote-tracking branch 'upstream/master'
Update tests.js
Update chapter04.js
Merge pull request #202 from Frederick-S/master

添加第四章 JavaScript 代码
Update 08.1.md