Cleanup additional functions in lox-wasm and move common functions to lox_utils
There are still some functions in lox_wasm that can be made common and though calc_test_days
should eventually be removed, the Error it was throwing didn't make any sense.