adding cocoon javascript call to activerecord
adding cocoon javascript call to activerecord