universal func for setting/getting values

as above.  code changed to use this.
formatting

more spaces => tabs
also using calculator.get_el() instead of document.getElementById()
--> eventually all in an object to be this.get_el when condensed
properly.