JavaScript "Class" to work with binary numbers.