carrierWave set up works with ajax. Added error handling on older code. working on image processing