calculator functionality

Added a JS page so we can help set up where to go with calculator