Added javascripts to keep page up to date