Create tip calculation functionality

Also, changed app to use regular JS instead of CoffeeScript