Arel ported to node js — with some changes