Moving ImageData into JavaScript module

ImageData uses 8bit vector, like JavaScript.
Adding example 2 1 1