Creating Simple Image cropping app with Papercrop and Ajax