some javascripts