redesign javascripts