Reinventing the jQuery wheel, because I want to.