Data abstraction layer framework for JavaScript