Extracted js calculator for house price