image class adding from rails not js