Docs: update doc/js.md

Added some more infomation about plugins.js to doc/js.md