organize javascripts