EnyoJS adapted to Rails