A simple polish notation calculator for JavaScript