added javascripts for your perusal