converted html calculator to index.jade