Get Binary in JS