add small javascripts