Update zcl.js

added toBitArray function.