Framework for JavaScript enabled browser and node.js