modified javascripts of problem page