Fixed problem with jcrop library