add jcrop call to javascript