updated javascripts sections