javascripts directory structure