a work-in-progress simple javascript calculator