added basic javascripts