Integrate majTextCounter javascript library with Rails asset pipeline