Rails support for Chardin.js