added javaScript for interactive prediction