rails GEM for Javascript library