Updates documentation on javascripts