removed redundant functions from propcalc.js