stack calculator (chrome browser, chrome app, nodejs)