Update ImageUtils.js

Mapping parameter can be null now.