Usage
Check browser console for demo results. You can also call add() from the JS console.