Updated javascripts