implemented combineBits in bits.js and nextInt in random.js

combineBits will allow users to merge high and low bits from the
bits.js library (assuming the number fits in js numbers)