setting up some javascripts