Javascript Object-Relational Mapper