Binary image editor in javascript to learn basic image-processing algorithms and technics