First save these there files to your computer. Then upload them to your SharePoint.
I uploaded the Item_calculator.html here:
http://sp13/_catalogs/masterpage/Display Templates/Search/Item_Calculator.html
And the style.css & script.js here:
http://sp13/_catalogs/masterpage/Display Templates/calc/style.css
http://sp13/_catalogs/masterpage/Display...