Add solution from mahimahi42 for js calculator
Merge pull request #83 from mahimahi42/master

Add solution from mahimahi42 for js calculator