Rails API for feeding trendy js frameworks