Removed spurious uses of parseInt

This fixes the max chain reward calculation for large values (fixes #83)