Minimal copy of Jcrop