A demo of calculator in javascript