integrate javascript image processing example