Fix commit image js

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>