JS interactive calculator module