A JavaScript-based emulator for Texas Instruments calculators