Almost vanilla JavaScript library