`calculate` is make more sense than `recalculate`.
Removed unused method `updateCounter`.
Small changes.
Added .jshintrc