bit field data structure in Javascript programming language