A client-side data access layer for the xAPI in javascript