A simple calculator written in JS