Adds JS function documentation
Merge branch 'js-patches' of https://github.com/furzeface/tldrcode.com into gh-pages