Collision masks from PBM files for JavaScript.