modified tip_calculator.js.coffee