Img check on crop js