jquery-like minimum wrapper optimized for speed