An under 12KB JavaScript library for common tasks