Simple JavaScript Calculator (no libs)