fixed include path for js on detail on index pages