add .length, .get(index: number), and .each(callback) to API
adding .empty() and .remove() methods
tweaks for smaller file size and use parentNode instead of parentElement