javascripts for modules