A simple Javascript double-entry accounting library