Modifying js and html. Adding rst template.