add real cropping with js, need to fix ratio.