A simple and fast bit set implementation in Javascript