fix &quot; bug: convertion between ruby too jquery