introduce js plugin in chp5

in chap5, introduce js plugin