adding js backbone support