Collision masks from PBM files for Javascript.