Reset javascripts